﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
namespace Nijie.Network
{
    public interface ISyncListener
    {
        void OnSerialize(NetworkWriter writer);
        void OnDeserialize(NetworkReader reader, RemoteDevice remoteDevice);
        string ID { get; }
        //bool ReadyToSync { get; }

        void Sync();
    }
}